package com.leunpha.mini.utils;

import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * User: zhoujingjie
 * Date: 14-5-13
 * Time: 下午3:01
 */
public class IOUtils {

    /**
     * 关闭输入流
     *
     * @param closeable
     */
    public static void close(Closeable closeable) {
        if(closeable!=null)
            try {
                closeable.close();
            } catch (IOException e) {
                //ignore
            }
    }

}
